package com.ruoyi.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.vo.Report;
import com.ruoyi.web.vo.ReportWork;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface ReportMapper extends BaseMapper<Report> {

    public List<Report> selectMesReportList(Report report);

    public String selectRoleKeyBuUserId(Long userId);

    public BigDecimal selectTotalNum(Map<String, Object> map);

    public BigDecimal selectTotalNumBinding(Map<String, Object> map);

    public List<ReportWork> selectReportDetailList(Report report);
    public ReportWork selectReportDetailSum(Report report);
    public ReportWork  selectBindingDetailSum(Report report);
    public ReportWork selectCoverDetailSum(Report report);

    public List<ReportWork> selectBindingDetailList(Report report);
    public List<ReportWork> selectCoverDetailList(Report report);

    public List<ReportWork> selectMewReportWorkList(String id);

    //根据累计报工量穿透数据
    public List<ReportWork> selectReportDetailByRealityLing(ReportWork reportWork );

    Report selectReportLing(Report report);

    // 查询机台用纸令数
    List<ReportWork> selectRealityLing(Report report);
    // 查询装订报工数据
    List<ReportWork> selectBindingDailyg(Report report);

    public List<Report> selectRepeatReportList(Report report);
}
